package com.code.service;

import com.code.entity.PageResult;
import com.code.entity.QueryPageBean;
import com.code.pojo.City;
import com.code.pojo.Village;

import java.util.List;
import java.util.Map;

public interface VillageService {
    public PageResult<Village> findPage(QueryPageBean queryPageBean);

    public Village findById(Integer id);

    void add(Village village);

    void update(Village village);

    void delete(Integer id);

    List<City> findCity();

    List<Map> tongji();

//    List<Map> twobzt();

    PageResult<Village> findPageNo(QueryPageBean queryPageBean);

    void editState(Integer id);
}
